package com.cloudlead.commonData.entity;

import com.cloudlead.common.lang.persistence.AbstractIdEntity;

import com.cloudlead.common.persistence.UpdateCheck;

import javax.validation.constraints.Size;
import com.cloudlead.common.lang.annotation.Label;
import java.lang.String;
import javax.validation.constraints.NotNull;

/**
 * EBaseFleetDoor is a Querydsl bean type
 */
@Label("BaseFleetDoor")
public class EBaseFleetDoor extends AbstractIdEntity<String> {

    private static final long serialVersionUID =9000565411240L;    
    @Size(max=24)
    @Label("代码")
    private String baseFleetCustomerId;

    @Size(max=255)
    @Label("code")
    private String code;

    @Size(max=65535)
    @Label("comment")
    private String comment;

    @Size(max=100)
    @Label("contactPerson")
    private String contactPerson;

    @Size(max=255)
    @Label("doorAddress")
    private String doorAddress;

    @Size(max=255)
    @Label("doorName")
    private String doorName;

    @Size(max=10)
    @Label("flag")
    private String flag;

    @NotNull(groups={UpdateCheck.class})
    @Size(max=24)
    @Label("id")
    private String id;

    @Size(max=20)
    @Label("phone")
    private String phone;

    @Size(max=20)
    @Label("qq")
    private String qq;

    public String getBaseFleetCustomerId() {
        return baseFleetCustomerId;
    }

    public void setBaseFleetCustomerId(String baseFleetCustomerId) {
        this.baseFleetCustomerId = baseFleetCustomerId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getContactPerson() {
        return contactPerson;
    }

    public void setContactPerson(String contactPerson) {
        this.contactPerson = contactPerson;
    }

    public String getDoorAddress() {
        return doorAddress;
    }

    public void setDoorAddress(String doorAddress) {
        this.doorAddress = doorAddress;
    }

    public String getDoorName() {
        return doorName;
    }

    public void setDoorName(String doorName) {
        this.doorName = doorName;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }

    public String toString() {
         return String.format("EBaseFleetDoor { baseFleetCustomerId : %s,code : %s,comment : %s,contactPerson : %s,doorAddress : %s,doorName : %s,flag : %s,id : %s,phone : %s,qq : %s }",baseFleetCustomerId,code,comment,contactPerson,doorAddress,doorName,flag,id,phone,qq);
    }

}

